<template>
    <div>
      <h1>模版D --- {{ data.jobType }}</h1>
    </div>
  </template>
  
  <script lang="ts" setup>
  import { defineProps } from 'vue'
  
  //定义接收的props
  const props = defineProps({
    // 定义一个对象类型的 prop
    data: {
      type: Object,
      default: () => ({ groupName: '', jobType: '' })
    }
  })
  </script>
  
  <style scoped>
  /* 组件样式 */
  </style>
  